package ace.module.upms.core.impl.dao.repository;


import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import ace.module.upms.core.impl.constant.UpmsCoreConstant;
import ace.module.upms.core.impl.dao.entity.UpmsMenu;
import com.baomidou.dynamic.datasource.annotation.DS;
import java.util.List;
import org.springframework.stereotype.Repository;

/**
* 菜单权限 repository.
*
* @author Caspar
*/
@DS(UpmsCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface UpmsMenuRepository extends QuerydslJdbcBaseRepository<UpmsMenu,Long> {

  List<UpmsMenu> getByUpmsAppIdAndDeleteFlagIsFalse(Long upmsAppId);
}
